﻿@model IEnumerable<YogaStudio.Data.Domain.WaiverRequest>


                    <div class="datagrid">
                        <table id="box-table-a">
                            <tr>
                                <th>
                                    @Html.DisplayNameFor(model => model.Customer.Id)
                                </th>
                                <th>
                                    Customer's name
                                </th>
                                <th>
                                    @Html.DisplayNameFor(model => model.Course.CourseName)
                                </th>
                                <th>
                                    @Html.DisplayNameFor(model => model.Status)
                                </th>
                                <th></th>
                            </tr>

                            @foreach (var item in Model)
                            {
                                <tr>
                                    <td>
                                        @Html.DisplayFor(modelItem => item.Customer.Id)
                                    </td>
                                    <td>
                                        @Html.DisplayFor(modelItem => item.Customer.FullName)
                                    </td>
                                    <td>
                                        @Html.DisplayFor(modelItem => item.Course.CourseName)
                                    </td>
                                    <td>
                                        @Html.DisplayFor(modelItem => item.Status)
                                    </td>
                                    <td>
                                        @Html.ActionLink("Details", "Details", new { id = item.Id })
                                    </td>
                                </tr>
                            }

                        </table>
                    </div>